<?php

class Organization extends AppModel{

	var $name = 'Organization';
	var $actsAs = array('Containable');
	var $paginate = array('limit' => 15, 'page' => 1);
	var $belongsTo = array(
				'Cidade' => array('classname'  => 'Cidade'),
				'Web' =>array('classname'  => 'Web'),
				'Cmsconfiguration' =>array('classname'  => 'Cmsconfiguration'),
				'Profile' =>array('classname'  => 'Profile'),
	);
	
		
	var $hasMany = array(
						'Unit' =>array('classname'  => 'Unit'),
			     		'Form' =>array('classname' => 'Form'),
			     		'Forum' => array('classname' => 'Forum'),
						'Event' => array('classname' => 'Event'),
						'Calendar' => array('classname' => 'Calendar'),
						'Video' => array('classname' => 'Video'),
					);	

	var $displayField = 'nome';

	/*var $validate = array(
		'nome' => array('required' => VALID_NOT_EMPTY),
		'email' => array('required' => VALID_NOT_EMPTY),
	);*/

	var $recursive = 2;
}

?>